Configuring setuptools using pyproject.toml files
If compatibility with legacy builds or versions of tools that don’t support certain packaging standards (e.g. 略), a simple setup.py script can be added to your project (Importantより)
code:互換性のためにpyproject.tomlと合わせて置くsetup.py
from setuptools import setup
setup()
Setuptools-specific configuration
[tool.setuptools]はベータ段階
py-modules, packages
When both py-modules and packages are left unspecified, setuptools will attempt to perform Automatic discovery,
(TODO 詳しく知りたい)
Dynamic Metadata
versionをモジュール中から取ってこれる!
IMO:複数箇所を同時に変えなくてよいので便利